package cn.gitee.ffmpeg.processed.handler;

/**
 * @author xuhainan
 * @date 2023/7/28 15:24
 * @region hefei
 */
public abstract class ProcessedHandler {

    public String processed(ProcessedDTO processedDTO) {
        String processed = doProcessed(processedDTO);
        doCallBack(processedDTO);
        return processed;
    }

    public abstract String doProcessed(ProcessedDTO processedDTO);


    public abstract void doCallBack(ProcessedDTO processedDTO);

}
